<template>
<div>
    <tab-bar>
      <tab-bar-item path="/home" activeColor="blue">
        <img slot="item-icon" src="~@/assets/img/tabbar/cat.svg" alt="">
        <img slot="item-icon-active" src="~@/assets/img/tabbar/dog.svg" alt="">
        <div slot="item-text">首页</div>
      </tab-bar-item>
      <tab-bar-item path="/category">
        <img slot="item-icon" src="~@/assets/img/tabbar/cat.svg" alt="">
        <img slot="item-icon-active" src="~@/assets/img/tabbar/dog.svg" alt="">
        <div slot="item-text">导航</div>
      </tab-bar-item>
      <tab-bar-item path="/cart">
        <img slot="item-icon" src="~@/assets/img/tabbar/cat.svg" alt="">
        <img slot="item-icon-active" src="~@/assets/img/tabbar/dog.svg" alt="">
        <div slot="item-text">购物车</div>
      </tab-bar-item>
      <tab-bar-item path="/profile">
        <img slot="item-icon" src="~@/assets/img/tabbar/cat.svg" alt="">
        <img slot="item-icon-active" src="~@/assets/img/tabbar/dog.svg" alt="">
        <div slot="item-text">我</div>
      </tab-bar-item>
      <!-- <tab-bar-item></tab-bar-item>
      <tab-bar-item></tab-bar-item>
      <tab-bar-item></tab-bar-item> -->
    </tab-bar>
    
</div>

</template>

<script>
import TabBar from '@/components/common/tabbar/TabBar.vue'
import TabBarItem from '@/components/common/tabbar/TabBarItem.vue'
export default {
  name:'MainTabBar',
  components: {
    // HelloWorld
    TabBar,
    TabBarItem,
  },
  data(){
    return {
      isActive: true,
    }
  },
  methods: {}
}
</script>

<style scoped>

</style>
